package com.example.livestockbreedingapplication.domain;

public class ControlInfo {
    //控制器id
    private String controlId;
    //该控制器的买家id
    private String userId;
    //控制器ZigBee模块的PANID
    private String panid;
    //控制器ZigBee模块的信道
    private Long channel;

    public ControlInfo(String controlId, String userId, String panid, Long channel) {
        this.controlId = controlId;
        this.userId = userId;
        this.panid = panid;
        this.channel = channel;
    }

    public ControlInfo() {
        super();
    }

    public String getControlId() {
        return controlId;
    }

    public void setControlId(String controlId) {
        this.controlId = controlId == null ? null : controlId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getPanid() {
        return panid;
    }

    public void setPanid(String panid) {
        this.panid = panid == null ? null : panid.trim();
    }

    public Long getChannel() {
        return channel;
    }

    public void setChannel(Long channel) {
        this.channel = channel;
    }
}